from django.http import JsonResponse
from django.test import TestCase
import subprocess
import requests
import json
import yaml
from pathlib import Path


def test():
    BASE_DIR = Path(__file__).resolve().parent.parent
    file_path = str(BASE_DIR) + '/' + 'workspace' + '/' + 'lgw' + '/' + 'lgw-demo' + '/' + 'lgw-demo.yml'

    with open(file_path, 'r') as ymlfile:
        data = yaml.load(ymlfile, Loader=yaml.SafeLoader)

        print(data)


test()
